package com.weaver.drools.business.execution.service;


import com.weaver.drools.common.entity.DWrit100;

public interface IDWrit100Service {
	
	public DWrit100 findById(Long writid);
	
	public void saveDWrit100(DWrit100 writ100);
	
	public void updateDWrit100(DWrit100 writ100);
	
	public void deleteById(Long writid);
	
	/**
	 * 根据文书类型得到最后文书信息值
	 * @param writTypeId 文书类型表
	 * @param unitId 使用单位  
	 * @param year 使用年份 
	 * @param isCoordinator 是否为协管员所用
	 * @return DWrit100
	 */
	public DWrit100 findLastWritBean(Long writTypeId,Long unitId,String year,Long isCoordinator)throws Exception;
}
